package cn.itsource.org.service;

import cn.itsource.org.domain.Dictionary;
import cn.itsource.org.query.DictionaryQuery;
import cn.itsource.utli.PageInfo;

import java.util.List;

public interface IDictionaryService{
    void save(Dictionary dictionary);
    void update(Dictionary dictionary);
    void delete(Long id);
    Dictionary queryById(Long id);
    List<Dictionary> queryAll();
    PageInfo<Dictionary> queryPage(DictionaryQuery query);
    List<Dictionary> getDeptTree();
}
